package com.zatech.cgnci.project.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 准备金历史表
 * </p>
 *
 * @author Generator
 * @since 2025-05-21
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("cgnci_claim_reserve_history")
@ApiModel(value = "CgnciClaimReserveHistoryDO对象", description = "准备金历史表")
public class CgnciClaimReserveHistoryDO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("历史ID")
    @TableId(value = "history_id", type = IdType.ASSIGN_ID)
    private Long historyId;

    @ApiModelProperty("案件号")
    private String caseNo;

    @ApiModelProperty("任务号")
    private String taskNo;

    @ApiModelProperty("任务类型：1-立案；2-准备金计提；3-准备金调整；4-预付申请；5-结案申请；6-重开申请")
    private String taskType;

    @ApiModelProperty("任务状态：0-录入中；1-审核中；2-退回录入；3-已注销；4-已完成")
    private String taskStatus;

    @ApiModelProperty("汇率")
    private BigDecimal rate;

    @ApiModelProperty("准备金ID")
    private Long reserveId;

    @ApiModelProperty("险种")
    private String riskType;

    @ApiModelProperty("险种名称")
    private String riskTypeName;

    @ApiModelProperty("结算币种")
    private String settlementCurrency;

    @ApiModelProperty("已批准准备金(结算币种)")
    private BigDecimal approvedReserve;

    @ApiModelProperty("最新调整准备金(结算币种)")
    private BigDecimal adjustReserve;

    @ApiModelProperty("最新调整后准备金(结算币种)")
    private BigDecimal afterAdjustReserve;

    @ApiModelProperty("原始币种")
    private String originalCurrency;

    @ApiModelProperty("已批准准备金(原始币种)")
    private BigDecimal approvedReserveOriginal;

    @ApiModelProperty("最新调整准备金(原始币种)")
    private BigDecimal adjustReserveOriginal;

    @ApiModelProperty("最新调整后准备金(原始币种)")
    private BigDecimal afterAdjustReserveOriginal;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("创建人")
    private String creator;

    @ApiModelProperty("更新时间")
    private Date updateTime;

    @ApiModelProperty("更新人")
    private String updater;


}
